package com.example.sentence.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
public class Senten {
    private Integer id;
    @NotNull(message = "句子不能为空！")
    private String content;
    private Date creationTime;
}
